package com.cskaoyan.mall.api;

import com.cskaoyan.mall.dto.ProductDetailRequest;
import com.cskaoyan.mall.dto.ProductDetailResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: 牟治宇
 * @description 秒杀接口
 * @date: 2022/8/6 12:03
 */
public interface PromoProductService {
    @PostMapping(value = "/promo/rpc/detail")
    ProductDetailResponse getProductDetail(@RequestBody ProductDetailRequest request);
}
